package top.yudoge.dogeeditorserverj.service;

import java.math.BigDecimal;

public interface TextSimilarityService {

    /**
     *
     * @param text1
     * @param text2
     * @throws NullPointerException text1 or text2 is null
     * @return
     */
    double similarity(String text1, String text2);

}
